package day02;

public class LongDemo {
    public static void main(String[] args) {
        //long 长整型，8字节，-2^63~2^63-1（正负900万万亿多）
        long a=25L;
        //long b=10000000000;//默认为int，但超出int范围了
        long c=10000000000L;
        //long d=3.14;//编译错误，long只能装整数

        long e=1000000000*2*10L;
        System.out.println(e);
        long f=1000000000*3*10L;
        System.out.println(f);
        long g=1000000000L*3*10;
        System.out.println(g);

        long i=10L*(1500000000+1000000000);
        System.out.println(i);

    }
}
